//
//  PKReadInfoModel.m
//  PianKe
//
//  Created by ybq on 15/12/29.
//  Copyright © 2015年 B7_Young. All rights reserved.
//

#import "PKReadInfoModel.h"

@implementation PKReadInfoModel

-(void)setValue:(id)value forUndefinedKey:(NSString *)key {
    if ([key isEqualToString:@"counterList"]) {
        _comment = value[@"comment"];
        _like = value[@"like"];
    }
    if ([key isEqualToString:@"userinfo"]) {
        _desc = value[@"desc"];
        _icon = value[@"icon"];
        _uname = value[@"uname"];
    }
    if ([key isEqualToString:@"typeid"]) {
        _typeId = value;
    }
    if ([key isEqualToString:@"typename"]) {
        _typeName = value;
    }
}



@end
